package com.taiji.dianthus.service.sms;

import com.taiji.dianthus.common.BusinessMessage;
import com.taiji.dianthus.domain.sms.SmsGroupUser;

import java.util.List;

/**
 * @InterfaceName SmsGroupUserService
 * @Description
 * @Author H.M
 * @Date 2020/7/15
 */
public interface SmsGroupUserService {


    Integer countByGroupId(String id);


    BusinessMessage deleteGroupUserById(String id);

    BusinessMessage deleteGroupUserByIdArrays(String[] id);

    BusinessMessage save(List<SmsGroupUser> smsGroupUserList);

    List<SmsGroupUser> getAllUserListByGroupIdNotPage(String groupId);


    BusinessMessage listAll(Integer currentPage, Integer pageSize, String groupId,String userName,String userPhone);

    BusinessMessage getCountUserByGroupId(String groupId);

    BusinessMessage saveOneGroupUser(SmsGroupUser groupUser);

    BusinessMessage checkUserPhoneByGroup(String groupId, String userPhone);

    List<SmsGroupUser> getAllUserListByGroupIdBooks(String groupId);
}
